home *** CD-ROM | disk | FTP | other *** search
/ Komputer for Alle 2004 E…tra 100 Bedste Programmer / K-CD_2004_Ekstra_100_Gratis_Programmer.iso / Windows / X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ WinNT RAS Options 5.xpl < prev    next >
Encoding:
XSetup plugin  |  2003-08-06  |  1.4 KB  |  46 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="2"
  3. "COUNT"="1"
  4. "UIPATH 1"="Network\RAS & DUN"
  5. "UIPATH 2"="Startup/Shutdown\Startup\Windows NT/2K/XP\31) Inside Login Window"
  6. "NAME"="RAS Timeout"
  7. "VERSION"="1.02"
  8. "OSVERSION"="0101011"
  9. "LANGUAGE"="VBScript"
  10. "TEXT 1"="Timeout (sec)"
  11. "DESCRIPTION 1"="When connecting using RAS to a RAS Server, it can a long time until the RAS Server sends the response.
  12. "DESCRIPTION 2"="In some cases, it takes so long that Windows cancels the request because it thinks the server is no longer responding.
  13. "DESCRIPTION 3"="Use this plug-in to change the wait delay to anything between 1 and 600 seconds.
  14. "AUTHOR"="Xteq Systems"
  15. "CONTACTURL"="http://www.xteq.com"
  16. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  17. "COMMENT 1"="Thanks to CptSiskoX for his help!"
  18.  
  19.  
  20. sP="HKLM\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters\ExpectedDialupDelay" 'DW
  21.  
  22. Sub Plugin_Initialize 
  23.     i=RegReadValue(sP)
  24.     SetUIElement 1,i
  25. End Sub
  26.  
  27. Sub Plugin_CheckData(ElementIndex)
  28. End Sub
  29.  
  30. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  31.  i=GetUIElement(1)
  32.  if len(i)=0 then
  33.     If RegValueExists(sP) then Call RegDeleteValue(sP)
  34.  else
  35.     if i>1 and i<601 then
  36.        Call RegWriteValue(sP,i,2)   
  37.     else
  38.        MsgError "Please enter a number bigger than 1 and smaller than 601"
  39.     end if   
  40.  end if
  41.  
  42. End Sub
  43.  
  44. Sub Plugin_Terminate 
  45. End Sub
  46.